package cn.zsb.web;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

/**
 * @author oldliu
 * @since 1.0
 */
@ControllerAdvice
public class ZsbHandler {
    @ExceptionHandler(Exception.class)
    public String exc1(Exception e){
        e.printStackTrace();
        return "error";
    }
}
